package com.qen.morse

import cn.hutool.core.codec.Morse

fun main() {
    val morseCoder = Morse()
    val text = "今天不发工资"
    val str = morseCoder.encode(text)
    println(str)

    val txt = "今天不发工资"
    val mor = morseCoder.encode(txt)
    var res = morseCoder.decode(mor)
    println(res)
}
